home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 551-575 / disk_566 / apfelkiste / installlibs < prev    next >
Text File  |  1992-05-06  |  2KB  |  76 lines

  1. .K ""
  2. echo "This script will install some required libraries, after checking"
  3. echo "to see if you already have them.  If so, it will check the version"
  4. echo "number of the installed one, and the one in this distribution, and"
  5. echo "give you the option of installing the one found here."
  6. echo ""
  7.  
  8. echo "Note that arp.library is only required for AmigaDOS 1.3 or earlier."
  9. echo ""
  10.  
  11. ask "Do you wish to continue with the installation of arp.library? [y/n]"
  12. if WARN
  13.     if not EXISTS libs:arp.library
  14.         echo "No existing library, installing libs:arp.library..."
  15.         copy libs/arp.library libs:arp.library
  16.     else
  17.         echo "Examine the version numbers of each library."
  18.         echo ""
  19.         version libs:arp.library
  20.         version libs/arp.library
  21.         echo ""
  22.         ask "Do you wish to overwrite libs:arp.library? [y/n]"
  23.         if WARN
  24.             echo "Updating libs:arp.library..."
  25.             copy libs/arp.library libs:arp.library
  26.         else
  27.             echo "libs:arp.library unchanged..."
  28.         endif
  29.     endif
  30. endif
  31.  
  32. ask "Do you wish to continue with the installation of color.library? [y/n]"
  33. if WARN
  34.     if not EXISTS libs:color.library
  35.         echo "No existing library, installing libs:color.library..."
  36.         copy libs/color.library libs:color.library
  37.     else
  38.         echo "Examine the version numbers of each library."
  39.         echo ""
  40.         version libs:color.library
  41.         version libs/color.library
  42.         echo ""
  43.         ask "Do you wish to overwrite libs:color.library? [y/n]"
  44.         if WARN
  45.             echo "Updating libs:color.library..."
  46.             copy libs/color.library libs:color.library
  47.         else
  48.             echo "libs:color.library unchanged..."
  49.         endif
  50.     endif
  51. endif
  52.  
  53. ask "Do you wish to continue with the installation of iff.library? [y/n]"
  54. if WARN
  55.     if not EXISTS libs:iff.library
  56.         echo "No existing library, installing libs:iff.library..."
  57.         copy libs/iff.library libs:iff.library
  58.     else
  59.         echo "Examine the version numbers of each library."
  60.         echo ""
  61.         version libs:iff.library
  62.         version libs/iff.library
  63.         echo ""
  64.         ask "Do you wish to overwrite libs:iff.library? [y/n]"
  65.         if WARN
  66.             echo "Updating libs:iff.library..."
  67.             copy libs/iff.library libs:iff.library
  68.         else
  69.             echo "libs:iff.library unchanged..."
  70.         endif
  71.     endif
  72. endif
  73.  
  74. echo "All Done.  Click close gadget to get rid of window."
  75. endcli
  76.